home *** CD-ROM | disk | FTP | other *** search
- From: "john (j.d.) hickin" <hickin@bnr.ca>
- Message-ID: <4faher$sfc@bmtlh10.bnr.ca>
- X-Original-Date: Wed, 7 Feb 1996 15:45:31 +0000
- Path: in1.uu.net!bounce-back
- Date: 08 Feb 96 10:48:07 GMT
- Approved: fjh@cs.mu.oz.au
- References: <199602062335.SAA13298@novice.uwaterloo.ca>
- Subject: Re: basic_string& operator=(const basic_string&
- Newsgroups: comp.std.c++
- Organization: Bell-Northern Research
- X-Mailer: Mozilla 1.1 (X11; I; HP-UX A.09.05 9000/715)
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBFAgUBMRnVGuEDnX0m9pzZAQGorwF/WFLAnnOenStTumCEcdp/K7LUu16dbtd0
- KP4MsFM/xrQ18fg3IM5/n1s+fB/l+/y3
- =+Yij
-
- My original posting was not terribly explicit. My interpretation of the
- wording in Table 7 is that an assignment x=y cannot share the string data
- of y. My interpretation of Table 3 for the copy constructor is the same:
- string x(y) cannot sahre y's data. I conclude, therefore, that a counted
- pointer representation is allowed in theory but 'prevented in practice'.
-
- --
- John Hickin Nortel Technology, Montreal, Quebec
- (514) 765-7924 hickin@bnr.ca
- ---
- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
- Contact address: std-c++-request@ncar.ucar.edu. Moderation policy:
- http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
-